import request from '@/request/index.js';

export function waitPay(data) {
	return request.post({
		url: '/app-api/hospital/wait-pay/create',
		data,
		custom: {
			title: "待缴费支付",
			authentication: true
		}
	});
}

export function listPay(params) {
	return request.get({
		url: '/app-api/hospital/wait-pay/list-pay',
		params,
		custom: {
			title: "已缴费列表",
			authentication: true
		}
	});
}
export function listExpensePay(params) {
	return request.get({
		url: '/app-api/hospital/wait-pay/expense-list',
		params,
		custom: {
			title: "门诊费用查询",
			authentication: true
		}
	});
}

export function detailsPay(params) {
	return request.get({
		url: '/app-api/hospital/wait-pay/details-pay',
		params,
		custom: {
			title: "已缴费详情",
			authentication: true
		}
	});
}

export function getHZHospitalizedLogList(params) {
	return request.get({
		url: '/app-api/hospital/hospitalized-log/hospitalized-log-list',
		params,
		custom: {
			title: "住院记录列表",
			authentication: true
		}
	});
}